/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package recipesearch;

/**
 *
 * @author max
 */
// String difficulty, int time, String cuisine, int price, String ingredient
public class RecipeQuery {
    private String difficulty;
    private int time;
    private String cuisine;
    private int price;
    private String ingredient;

    public RecipeQuery(){
        difficulty = null;
        time = 0;
        cuisine = null;
        price = 0;
        ingredient = null;
    }

    RecipeQuery(String difficulty, int time, String ingredient, int price, String cuisine) {
        this.difficulty = difficulty;
        this.time = time;
        this.cuisine = cuisine;
        this.price = price;
        this.ingredient = ingredient;
    }

    /**
     * @return the difficulty
     */
    public String getDifficulty() {
        return difficulty;
    }

    /**
     * @param difficulty the difficulty to set
     */
    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    /**
     * @return the time
     */
    public int getTime() {
        return time;
    }

    /**
     * @param time the time to set
     */
    public void setTime(int time) {
        this.time = time;
    }

    /**
     * @return the cuisine
     */
    public String getCuisine() {
        return cuisine;
    }

    /**
     * @param cuisine the cuisine to set
     */
    public void setCuisine(String cuisine) {
        this.cuisine = cuisine;
    }

    /**
     * @return the price
     */
    public int getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(int price) {
        this.price = price;
    }

    /**
     * @return the ingredient
     */
    public String getIngredient() {
        return ingredient;
    }

    /**
     * @param ingredient the ingredient to set
     */
    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String toString(){
        return "Cuisine: "+this.cuisine+"\nDifficulty: "+this.difficulty+"\nIngredient: "+this.ingredient+
                "\nPrice: "+this.price+"\nTime: "+this.time;
    }

}
